<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../../style.css" type="text/css" media="screen">
<link rel="stylesheet" href="../../../../print.css" type="text/css" media="print">
<meta content="PownceService,com.initapp.webapis.pownce.PownceService,getFriendsFansAndFansOf,getNote,getNoteList,getNoteRecipientList,getProfile,getPublicNoteList,getSendToList,postAFile,postALink,postAMessage,postAReply,postAnEvent,setAuth" name="keywords">
<title>com.initapp.webapis.pownce.PownceService</title>
</head>
<body>
<script type="text/javascript" language="javascript" src="../../../../asdoc.js"></script><script type="text/javascript" language="javascript" src="../../../../cookies.js"></script><script type="text/javascript" language="javascript">
<!--
				asdocTitle = 'PownceService - API Documentation';
				var baseRef = '../../../../';
				window.onload = configPage;
			--></script>
<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" class="titleTable">
<tr>
<td align="left" class="titleTableTitle">API Documentation</td><td align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('../../../../all-classes.html')" href="../../../../package-summary.html">All&nbsp;Packages</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../../all-classes.html')" href="../../../../class-summary.html">All&nbsp;Classes</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../../index-list.html')" href="../../../../all-index-A.html">Index</a>&nbsp;|&nbsp;<a href="../../../../index.html?com/initapp/webapis/pownce/PownceService.html&amp;com/initapp/webapis/pownce/class-list.html" id="framesLink1">Frames</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">No&nbsp;Frames</a></td><td rowspan="3" align="right" class="titleTableLogo"><img alt="Adobe Logo" title="Adobe Logo" class="logoImage" src="../../../../images/logo.jpg"></td>
</tr>
<tr class="titleTableRow2">
<td align="left" id="subTitle" class="titleTableSubTitle">Class&nbsp;PownceService</td><td align="right" id="subNav" class="titleTableSubNav"><a href="#methodSummary">Methods</a>&nbsp;| <a href="#eventSummary">Events</a></td>
</tr>
<tr class="titleTableRow3">
<td colspan="2">&nbsp;</td>
</tr>
</table>
<script type="text/javascript" language="javascript">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("Class PownceService"); titleBar_setSubNav(false,false,false,false,true,false,true,false,false,false,false,false,false,false);}
--></script>
<div class="MainContent">
<table cellspacing="0" cellpadding="0" class="classHeaderTable">
<tr>
<td class="classHeaderTableLabel">Package</td><td><a onclick="javascript:loadClassListFrame('class-list.html')" href="package-detail.html">com.initapp.webapis.pownce</a></td>
</tr>
<tr>
<td class="classHeaderTableLabel">Class</td><td class="classSignature">public class PownceService</td>
</tr>
<tr>
<td class="classHeaderTableLabel">Inheritance</td><td class="inheritanceList">PownceService <img class="inheritArrow" alt="Inheritance" title="Inheritance" src="../../../../images/inherit-arrow.gif"> com.adobe.webapis.URLLoaderBase</td>
</tr>
</table>
<p></p>
  The Class is an ActionScript 3 Library for use against the Pownce V2.0 API
  
  
  <p></p>
<p>
<span class="classHeaderTableLabel">See also</span>
</p>
<div class="seeAlso">
<a href="http://initapp.com" target="mm_external">http://initapp.com</a>
<br>
<a href="http://pownce.pbwiki.com/API%20Documentation2-0" target="mm_external">http://pownce.pbwiki.com/API%20Documentation2-0</a>
<br>
<a href="http://groups.google.com/group/pownceapi" target="mm_external">http://groups.google.com/group/pownceapi</a>
</div>
<br>
<hr>
</div>
<a name="methodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Methods</div>
<table id="summaryTableMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#PownceService()">PownceService</a>(apiKey:String, username:String = "", password:String = "")</div>
<div class="summaryTableDescription">
   Constructor.</div>
</td><td class="summaryTableOwnerCol">PownceService</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getFriendsFansAndFansOf()">getFriendsFansAndFansOf</a>(username:String, relationshipType:String, limit:int = 20, page:int = -1):void</div>
<div class="summaryTableDescription">
   Get an individual user's relationship data.</div>
</td><td class="summaryTableOwnerCol">PownceService</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getNote()">getNote</a>(noteID:int, showNoteReplies:Boolean = false, recipientLimit:Number = 0):void</div>
<div class="summaryTableDescription">
   Get a particular note by id.</div>
</td><td class="summaryTableOwnerCol">PownceService</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getNoteList()">getNoteList</a>(username:String, noteType:String = null, limit:int = 20, page:int = -1, sinceID:int = -1, noteSubsetType:String = null, setID:int = -1):void</div>
<div class="summaryTableDescription">
   Get a list of notes for a user.</div>
</td><td class="summaryTableOwnerCol">PownceService</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getNoteRecipientList()">getNoteRecipientList</a>(noteID:int, limit:int = 20, page:Number = -1):void</div>
<div class="summaryTableDescription">
   Get a list of recipients for a particular note.</div>
</td><td class="summaryTableOwnerCol">PownceService</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getProfile()">getProfile</a>(username:String):void</div>
<div class="summaryTableDescription">
   Get an individual user's profile information.</div>
</td><td class="summaryTableOwnerCol">PownceService</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getPublicNoteList()">getPublicNoteList</a>(noteType:String = null, limit:int = 20, page:int = -1, sinceID:int = -1):void</div>
<div class="summaryTableDescription">
   Get a list of all recent public notes.</div>
</td><td class="summaryTableOwnerCol">PownceService</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getSendToList()">getSendToList</a>():void</div>
<div class="summaryTableDescription">
   Get a the list of potential recipients for the authenticated user.</div>
</td><td class="summaryTableOwnerCol">PownceService</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#postAFile()">postAFile</a>(noteTo:String, file:FileReference, noteBody:String = "", usePro:Boolean = false):void</div>
<div class="summaryTableDescription">
   Post a note that contains a file.</div>
</td><td class="summaryTableOwnerCol">PownceService</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#postALink()">postALink</a>(noteTo:String, url:String, noteBody:String = ""):void</div>
<div class="summaryTableDescription">
   Post a note that contains a link.</div>
</td><td class="summaryTableOwnerCol">PownceService</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#postAMessage()">postAMessage</a>(noteTo:String, noteBody:String):void</div>
<div class="summaryTableDescription">
   Post a note that contains only a message.</div>
</td><td class="summaryTableOwnerCol">PownceService</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#postAnEvent()">postAnEvent</a>(noteTo:String, eventName:String, eventLocation:String, eventDate:Date, noteBody:String = ""):void</div>
<div class="summaryTableDescription">
   Post a note that contains an event.</div>
</td><td class="summaryTableOwnerCol">PownceService</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#postAReply()">postAReply</a>(replyTo:int, noteBody:String = "", stars:int = -1, rsvp:int = -1):void</div>
<div class="summaryTableDescription">
   Post a reply to a note.</div>
</td><td class="summaryTableOwnerCol">PownceService</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#setAuth()">setAuth</a>(username:String, password:String):void</div>
<div class="summaryTableDescription">
   Set the username and password to be used for authorization for this instance.</div>
</td><td class="summaryTableOwnerCol">PownceService</td>
</tr>
</table>
</div>
<a name="eventSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Events</div>
<table id="summaryTableEvent" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Event</th><th>Summary</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:onGetFriendsFansFanOf">onGetFriendsFansFanOf</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">&nbsp;</td><td class="summaryTableOwnerCol">PownceService</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:onGetNote">onGetNote</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">&nbsp;</td><td class="summaryTableOwnerCol">PownceService</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:onGetNoteList">onGetNoteList</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">&nbsp;</td><td class="summaryTableOwnerCol">PownceService</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:onGetNoteRecipientsList">onGetNoteRecipientsList</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">&nbsp;</td><td class="summaryTableOwnerCol">PownceService</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:onGetProfile">onGetProfile</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">&nbsp;</td><td class="summaryTableOwnerCol">PownceService</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:onGetPublicNoteList">onGetPublicNoteList</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">&nbsp;</td><td class="summaryTableOwnerCol">PownceService</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:onGetSendToList">onGetSendToList</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">&nbsp;</td><td class="summaryTableOwnerCol">PownceService</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:onPostAFile">onPostAFile</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">&nbsp;</td><td class="summaryTableOwnerCol">PownceService</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:onPostALink">onPostALink</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">&nbsp;</td><td class="summaryTableOwnerCol">PownceService</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:onPostAMessage">onPostAMessage</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">&nbsp;</td><td class="summaryTableOwnerCol">PownceService</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:onPostAnEvent">onPostAnEvent</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">&nbsp;</td><td class="summaryTableOwnerCol">PownceService</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:onPostAReply">onPostAReply</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">&nbsp;</td><td class="summaryTableOwnerCol">PownceService</td>
</tr>
</table>
</div>
<script type="text/javascript" language="javascript">
<!--
showHideInherited();
--></script>
<div class="MainContent">
<a name="constructorDetail"></a>
<div class="detailSectionHeader">Constructor detail</div>
<a name="PownceService()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">PownceService</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">constructor</td>
</tr>
</table>
<div class="detailBody">
<code>public function PownceService(apiKey:String, username:String = "", password:String = "")</code><p>
   Constructor.
   
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">apiKey</span>:String</code> &mdash; Application key provided by Pownce
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">username</span>:String</code> (default = "<code></code>")<code></code> &mdash; Optionally you can pass in username if you want to use an auth user at construction
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">password</span>:String</code> (default = "<code></code>")<code></code> &mdash; Optionally you can pass in the password for auth
   
   </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="http://pownce.com/api/apps/new/" target="mm_external">http://pownce.com/api/apps/new/</a>
</div>
</div>
<a name="methodDetail"></a>
<div class="detailSectionHeader">Method detail</div>
<a name="getFriendsFansAndFansOf()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getFriendsFansAndFansOf</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td>
</tr>
</table>
<div class="detailBody">
<code>public function getFriendsFansAndFansOf(username:String, relationshipType:String, limit:int = 20, page:int = -1):void</code><p>
   Get an individual user's relationship data.
   
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">username</span>:String</code> &mdash; Username of a Pownce user.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">relationshipType</span>:String</code> &mdash; Options are friends, fans, or fan_of. Use RelationshipType
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">limit</span>:int</code> (default = <code>20</code>)<code></code> &mdash; Optional. Limit the number of users returned. Default is 20 and max is 100.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">page</span>:int</code> (default = <code>-1</code>)<code></code> &mdash; Optional. Page number.
   </td>
</tr>
</table>
</div>
<a name="getNote()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getNote</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getNote(noteID:int, showNoteReplies:Boolean = false, recipientLimit:Number = 0):void</code><p>
   Get a particular note by id.
   
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">noteID</span>:int</code> &mdash; ID of the desired note.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">showNoteReplies</span>:Boolean</code> (default = <code>false</code>)<code></code> &mdash; Optional. By default the replies will not be included. To get the note with replies, use show_replies=true. Options are true or false.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">recipientLimit</span>:Number</code> (default = <code>0</code>)<code></code> &mdash; Optional. Number or recipients listed. Default is 0 and max is 100.
   </td>
</tr>
</table>
</div>
<a name="getNoteList()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getNoteList</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getNoteList(username:String, noteType:String = null, limit:int = 20, page:int = -1, sinceID:int = -1, noteSubsetType:String = null, setID:int = -1):void</code><p>
   Get a list of notes for a user.
   
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">username</span>:String</code> &mdash; Filter the public notes by type. Options are messages, links, or events. Use NoteType
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">noteType</span>:String</code> (default = <code>null</code>)<code></code> &mdash; Limit the number of notes returned. Default is 20 and max is 100.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">limit</span>:int</code> (default = <code>20</code>)<code></code> &mdash; Page number.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">page</span>:int</code> (default = <code>-1</code>)<code></code> &mdash; Limit the notes returned to those greater than the specified note id.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">sinceID</span>:int</code> (default = <code>-1</code>)<code></code> &mdash; Get a subset of the authenticated user's note list. Options are notes (no replies), 
   replies, sent, public, private, nonpublic (private and friends-only notes), and all. If no filter is specified, 
   the notes will be returned according to the user's preferences.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">noteSubsetType</span>:String</code> (default = <code>null</code>)<code></code> &mdash; Filter the authenticated user's notes by a particular set. Only available for the authenticated user's own notes.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">setID</span>:int</code> (default = <code>-1</code>)<code></code></td>
</tr>
</table>
</div>
<a name="getNoteRecipientList()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getNoteRecipientList</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getNoteRecipientList(noteID:int, limit:int = 20, page:Number = -1):void</code><p>
   Get a list of recipients for a particular note.
   
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">noteID</span>:int</code> &mdash; ID of the desired note.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">limit</span>:int</code> (default = <code>20</code>)<code></code> &mdash; Optional. Limit the number of recipients returned. Default is 20 and max is 100.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">page</span>:Number</code> (default = <code>-1</code>)<code></code> &mdash; Optional. Number or recipients listed. Default is 0 and max is 100.
   </td>
</tr>
</table>
</div>
<a name="getProfile()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getProfile</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getProfile(username:String):void</code><p>
   Get an individual user's profile information.
   
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">username</span>:String</code> &mdash; Username of a Pownce user.
   </td>
</tr>
</table>
</div>
<a name="getPublicNoteList()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getPublicNoteList</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getPublicNoteList(noteType:String = null, limit:int = 20, page:int = -1, sinceID:int = -1):void</code><p>
   Get a list of all recent public notes.
   
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">noteType</span>:String</code> (default = <code>null</code>)<code></code> &mdash; Filter the public notes by type. Options are messages, links, or events. Use NoteType
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">limit</span>:int</code> (default = <code>20</code>)<code></code> &mdash; Limit the number of notes returned. Default is 20 and max is 100.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">page</span>:int</code> (default = <code>-1</code>)<code></code> &mdash; Page number.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">sinceID</span>:int</code> (default = <code>-1</code>)<code></code> &mdash; Limit the notes returned to those greater than the specified note id.
   
   </td>
</tr>
</table>
</div>
<a name="getSendToList()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getSendToList</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getSendToList():void</code><p>
   Get a the list of potential recipients for the authenticated user. Includes options for the public, all friends, sets, and individual friends.
   
   </p></div>
<a name="postAFile()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">postAFile</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function postAFile(noteTo:String, file:FileReference, noteBody:String = "", usePro:Boolean = false):void</code><p>
   Post a note that contains a file.
   
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">noteTo</span>:String</code> &mdash; The recipient(s) of the note. Options are all, friend_x, or set_x. 
   Available options for the authenticated user can be found from the Send To List endpoint.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">file</span>:FileReference</code> &mdash; The data of the file.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">noteBody</span>:String</code> (default = "<code></code>")<code></code> &mdash; Optional. The main text body of the note.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">usePro</span>:Boolean</code> (default = <code>false</code>)<code></code> &mdash; Must be set to true if the user posting the file has a pro account.
   </td>
</tr>
</table>
</div>
<a name="postALink()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">postALink</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function postALink(noteTo:String, url:String, noteBody:String = ""):void</code><p>
   Post a note that contains a link.
   
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">noteTo</span>:String</code> &mdash; The recipient(s) of the note. Options are public, all, friend_x, or set_x. Available options for the authenticated user can be found from the Send To List endpoint.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">url</span>:String</code> &mdash; full url for the link. Ex: http://pythong.org
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">noteBody</span>:String</code> (default = "<code></code>")<code></code> &mdash; The main text body of the note.
   </td>
</tr>
</table>
</div>
<a name="postAMessage()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">postAMessage</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function postAMessage(noteTo:String, noteBody:String):void</code><p>
   Post a note that contains only a message.
   
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">noteTo</span>:String</code> &mdash; The recipient(s) of the note. Options are public, all, friend_x, or set_x. 
   Available options for the authenticated user can be found from the Send To List endpoint.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">noteBody</span>:String</code> &mdash; The main text body of the note. 
   </td>
</tr>
</table>
</div>
<a name="postAnEvent()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">postAnEvent</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function postAnEvent(noteTo:String, eventName:String, eventLocation:String, eventDate:Date, noteBody:String = ""):void</code><p>
   Post a note that contains an event.
   
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">noteTo</span>:String</code> &mdash; The recipient(s) of the note. Options are public, all, friend_x, or set_x. 
   Available options for the authenticated user can be found from the Send To List endpoint.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">eventName</span>:String</code> &mdash; Name of the event.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">eventLocation</span>:String</code> &mdash; Location of the event.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">eventDate</span>:Date</code> &mdash; Date of the event.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">noteBody</span>:String</code> (default = "<code></code>")<code></code> &mdash; Optional. The main text body of the note.
   </td>
</tr>
</table>
</div>
<a name="postAReply()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">postAReply</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function postAReply(replyTo:int, noteBody:String = "", stars:int = -1, rsvp:int = -1):void</code><p>
   Post a reply to a note.
   
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">replyTo</span>:int</code> &mdash; The id of the note which this reply belongs to.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">noteBody</span>:String</code> (default = "<code></code>")<code></code> &mdash; The main text body of the note.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">stars</span>:int</code> (default = <code>-1</code>)<code></code> &mdash; (messages, links, and files) The star rating the user gave the original note. 
   Options are 1, 2, 3, 4, or 5. Use NoteStarType.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">rsvp</span>:int</code> (default = <code>-1</code>)<code></code> &mdash; (events) The rsvp reply for an event type note. 
   Options are 1 Attending, 2 Busy Already, 3 Not Attending, 4 Running Late, 5 Bringing Friends, 6 Undecided, or 7 Wishing I Could Come!
   Use NoteRSVPType
   </td>
</tr>
</table>
</div>
<a name="setAuth()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">setAuth</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function setAuth(username:String, password:String):void</code><p>
   Set the username and password to be used for authorization for this instance.
   
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">username</span>:String</code> &mdash; Pownce username
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">password</span>:String</code> &mdash; Pownce password
   
   </td>
</tr>
</table>
</div>
<div class="detailSectionHeader">Event detail</div>
<a name="event:onGetFriendsFansFanOf"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">onGetFriendsFansFanOf</td><td class="detailHeaderType">event&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href="events/PownceResultEvent.html"><code>com.initapp.webapis.pownce.events.PownceResultEvent</code></a>
<br>
<p></p>
</div>
<a name="event:onGetNote"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">onGetNote</td><td class="detailHeaderType">event&nbsp;</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href="events/PownceResultEvent.html"><code>com.initapp.webapis.pownce.events.PownceResultEvent</code></a>
<br>
<p></p>
</div>
<a name="event:onGetNoteList"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">onGetNoteList</td><td class="detailHeaderType">event&nbsp;</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href="events/PownceResultEvent.html"><code>com.initapp.webapis.pownce.events.PownceResultEvent</code></a>
<br>
<p></p>
</div>
<a name="event:onGetNoteRecipientsList"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">onGetNoteRecipientsList</td><td class="detailHeaderType">event&nbsp;</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href="events/PownceResultEvent.html"><code>com.initapp.webapis.pownce.events.PownceResultEvent</code></a>
<br>
<p></p>
</div>
<a name="event:onGetProfile"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">onGetProfile</td><td class="detailHeaderType">event&nbsp;</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href="events/PownceResultEvent.html"><code>com.initapp.webapis.pownce.events.PownceResultEvent</code></a>
<br>
<p></p>
</div>
<a name="event:onGetPublicNoteList"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">onGetPublicNoteList</td><td class="detailHeaderType">event&nbsp;</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href="events/PownceResultEvent.html"><code>com.initapp.webapis.pownce.events.PownceResultEvent</code></a>
<br>
<p></p>
</div>
<a name="event:onGetSendToList"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">onGetSendToList</td><td class="detailHeaderType">event&nbsp;</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href="events/PownceResultEvent.html"><code>com.initapp.webapis.pownce.events.PownceResultEvent</code></a>
<br>
<p></p>
</div>
<a name="event:onPostAFile"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">onPostAFile</td><td class="detailHeaderType">event&nbsp;</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href="events/PownceResultEvent.html"><code>com.initapp.webapis.pownce.events.PownceResultEvent</code></a>
<br>
<p></p>
</div>
<a name="event:onPostALink"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">onPostALink</td><td class="detailHeaderType">event&nbsp;</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href="events/PownceResultEvent.html"><code>com.initapp.webapis.pownce.events.PownceResultEvent</code></a>
<br>
<p></p>
</div>
<a name="event:onPostAMessage"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">onPostAMessage</td><td class="detailHeaderType">event&nbsp;</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href="events/PownceResultEvent.html"><code>com.initapp.webapis.pownce.events.PownceResultEvent</code></a>
<br>
<p></p>
</div>
<a name="event:onPostAnEvent"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">onPostAnEvent</td><td class="detailHeaderType">event&nbsp;</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href="events/PownceResultEvent.html"><code>com.initapp.webapis.pownce.events.PownceResultEvent</code></a>
<br>
<p></p>
</div>
<a name="event:onPostAReply"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">onPostAReply</td><td class="detailHeaderType">event&nbsp;</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href="events/PownceResultEvent.html"><code>com.initapp.webapis.pownce.events.PownceResultEvent</code></a>
<br>
<p></p>
</div>
<br>
<br>
<hr>
<br>
<p></p>
<center class="copyright"> 
</center>
</div>
</body>
</html>
<!-- -->
